
<form method="post" enctype="multipart/form-data" target="_blank" id="form-order">
    <div class="table-responsive">
        <table class="table table-bordered table-hover">
            <thead>
            <tr>
                <td style="width: 1px;" class="text-center"><input type="checkbox" onclick="$('input[name*=\'selected\']').prop('checked', this.checked);"></td>

                <td class="text-right">
                    <a href="javascript:sort('id');">ID</a>
                </td>
                <td class="text-left">
                    <a href="javascript:sort('user_id');">会员id</a>
                </td>
                <td class="text-left">
                    <a href="javascript:sort('user_id');">会员昵称</a>
                </td>
                <td class="text-left">
                    <a href="javascript:sort('source_id');">提供者id</a>
                </td>
                <td class="text-left">
                    <a href="javascript:sort('current_money');">当前金额</a>
                </td>
                <td class="text-left">
                    <a href="javascript:sort('money');">资金流动</a>
                </td>
                <td class="text-left">
                    <a href="javascript:sort('type');">类型</a>
                </td>
                <td class="text-left">
                    <a href="javascript:sort('remark');">备注</a>
                </td>
                <td class="text-left">
                    <a href="javascript:sort('create_time');">创建时间</a>
                </td>
            </tr>
            </thead>
            <tbody>
            <volist name="moneyLogList" id="list">
                <tr>
                    <td class="text-center">
                        <input type="checkbox" name="selected[]" value="{$list['id']}">
                        <input type="hidden" name="shipping_code[]" value="flat.flat">
                    </td>
                    <td class="text-right">{$list.id}</td>
                    <td class="text-left">{$list.user_id}</td>
                    <td class="text-left">{$list.username}</td>
                    <td class="text-left">{$list.source_id}</td>
                    <td class="text-left">{$list.current_money}</td>
                    <td class="text-right">
                        <eq name="list.put_type" value="0">
                            +<else/>-
                        </eq>
                        {$list.money}
                    </td>
                    <td class="text-left">
                        <switch name="list.type">
                            <case value="0">充值</case>
                            <case value="1">奖励</case>
                            <case value="2">购买商品</case>
                        </switch>
                    </td>
                    <td class="text-left">{$list.remark}</td>
                    <td class="text-left">{$list.create_time}</td>
                </tr>
            </volist>
            </tbody>
        </table>
    </div>
</form>
<div class="row">
    <div class="col-sm-3 text-left">
    </div>
    <div class="col-sm-6 text-right">{$page}</div>
</div>
<script>
    $(".pagination  a").click(function(){
        var page = $(this).data('p');
        ajax_get_table('search-form2',page);
    });
</script>